<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>

</head>
<body>
	<input type="button" value="全数据推送！" onClick="showValue()" />
	<br><br>
	<input type="button" value="base_info_company数据推送"
		onClick="showValue1()" />
	<input type="button" value="base_info_company_fare数据推送"
		onClick="showValue2()" />
	<input type="button" value="baseInfoCompanyPay数据推送"
		onClick="showValue3()" />
	<input type="button" value="baseInfoCompanyStat数据推送"
		onClick="showValue4()" />
	<input type="button" value="baseInfoCompanyService数据推送"
		onClick="showValue5()" />
	<input type="button" value="baseInfoCompanyPermit数据推送"
		onClick="showValue6()" />
	<input type="button" value="baseInfoDriver数据推送" onClick="showValue7()" />
	<input type="button" value="baseInfoDriverApp数据推送" onClick="showValue8()" />
<input type="button" value="baseInfoDriverEducate数据推送" onClick="showValue9()" />
<input type="button" value="baseInfoDriverStat数据推送" onClick="showValue10()" />
<input type="button" value="baseInfoPassenger数据推送" onClick="showValue11()" />
<input type="button" value="baseInfoVehicle数据推送" onClick="showValue12()" />
<input type="button" value="baseInfoVehicleInsurance数据推送" onClick="showValue13()" />
<input type="button" value="baseInfoVehicleTotalMile数据推送" onClick="showValue14()" />

<br><br>

<input type="button" value="operateArrive数据推送" onClick="showValue15()" />
<input type="button" value="operateDepart数据推送" onClick="showValue16()" />
<input type="button" value="operateLogin数据推送" onClick="showValue17()" />
<input type="button" value="operateLogout数据推送" onClick="showValue18()" />
<input type="button" value="operatePay数据推送" onClick="showValue19()" />



<br><br>
<input type="button" value="orderCancel数据推送" onClick="showValue20()" />
<input type="button" value="orderCreate数据推送" onClick="showValue21()" />
<input type="button" value="orderMatch数据推送" onClick="showValue22()" />

<br><br>
<input type="button" value="positionDriver数据推送" onClick="showValue23()" />
<input type="button" value="positionVehicle数据推送" onClick="showValue24()" />



<br><br>
<input type="button" value="ratedDriver数据推送" onClick="showValue25()" />
<input type="button" value="ratedDriverPunish数据推送" onClick="showValue26()" />
<input type="button" value="ratedPassenger数据推送" onClick="showValue27()" />
<input type="button" value="ratedPassengerComplaint数据推送" onClick="showValue28()" />


</body>
<script type="text/javascript">

function showValue28(){
	$.ajax({
		url:"/rated/ratedPassengerComplaint",
	    type:"get",
		success:function(data){
			console.log(data);
			if(data == 200){
			alert("success");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue27(){
	$.ajax({
		url:"/rated/ratedPassenger",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue26(){
	$.ajax({
		url:"/rated/ratedDriverPunish",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue25(){
	$.ajax({
		url:"/rated/ratedDriver",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue24(){
	$.ajax({
		url:"/position/positionVehicle",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue23(){
	$.ajax({
		url:"/position/positionDriver",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}


function showValue22(){
	$.ajax({
		url:"/order/orderMatch",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue21(){
	$.ajax({
		url:"/order/orderCreate",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue20(){
	$.ajax({
		url:"/order/orderCancel",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue19(){
	$.ajax({
		url:"/sendoperinfo/operatePay",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue18(){
	$.ajax({
		url:"/sendoperinfo/operateLogout",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue17(){
	$.ajax({
		url:"/sendoperinfo/operateLogin",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue16(){
	$.ajax({
		url:"/sendoperinfo/operateDepart",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue15(){
	$.ajax({
		url:"/sendoperinfo/operateArrive",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}


function showValue14(){
	$.ajax({
		url:"/send/baseInfoVehicleTotalMile",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue13(){
	$.ajax({
		url:"/send/baseInfoVehicleInsurance",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue12(){
	$.ajax({
		url:"/send/baseInfoVehicle",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue11(){
	$.ajax({
		url:"/send/baseInfoPassenger",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue10(){
	$.ajax({
		url:"/send/baseInfoDriverStat",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}


function showValue9(){
	$.ajax({
		url:"/send/baseInfoDriverEducate",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});	
}

function showValue(){
	$.ajax({
		url:"/sendall/data",
	    type:"get",
		success:function(data){
			if(data == 200){
			alert("数据推送成功！");
			}
			if(data == 400){
				alert("数据推送失败！");
			}
		}
	});
}
	
	
	function showValue1(){
		$.ajax({
			url:"/send/baseInfoCompany",
		    type:"get",
			success:function(data){
				if(data == 200){
				alert("数据推送成功！");
				}
				if(data == 400){
					alert("数据推送失败！");
				}
			}
		});	
	}
		
		function showValue2(){
			$.ajax({
				url:"/send/baseInfoCompanyFare",
			    type:"get",
				success:function(data){
					if(data == 200){
					alert("数据推送成功！");
					}
					if(data == 400){
						alert("数据推送失败！");
					}
				}
			});	
		}
			
			function showValue3(){
				$.ajax({
					url:"/send/baseInfoCompanyPay",
				    type:"get",
					success:function(data){
						if(data == 200){
						alert("数据推送成功！");
						}
						if(data == 400){
							alert("数据推送失败！");
						}
					}
				});	
			}
			
			
				function showValue4(){
					$.ajax({
						url:"/send/baseInfoCompanyStat",
					    type:"get",
						success:function(data){
							if(data == 200){
							alert("数据推送成功！");
							}
							if(data == 400){
								alert("数据推送失败！");
							}
						}
					});		
				}
				
			
					function showValue5(){
						$.ajax({
							url:"/send/baseInfoCompanyService",
						    type:"get",
							success:function(data){
								if(data == 200){
								alert("数据推送成功！");
								}
								if(data == 400){
									alert("数据推送失败！");
								}
							}
						});	
					}
					
			
						function showValue6(){
							$.ajax({
								url:"/send/baseInfoCompanyPermit",
							    type:"get",
								success:function(data){
									if(data == 200){
									alert("数据推送成功！");
									}
									if(data == 400){
										alert("数据推送失败！");
									}
								}
							});	
						}
			
							function showValue7(){
								$.ajax({
									url:"/send/baseInfoDriver",
								    type:"get",
									success:function(data){
										if(data == 200){
										alert("数据推送成功！");
										}
										if(data == 400){
											alert("数据推送失败！");
										}
									}
								});	
							}
							
			
								function showValue8(){
									$.ajax({
										url:"/send/baseInfoDriverApp",
									    type:"get",
										success:function(data){
											if(data == 200){
											alert("数据推送成功！");
											}
											if(data == 400){
												alert("数据推送失败！");
											}
										}
									});	
								}
			


</script>
</html>